﻿<%@ Page Title="" Language="C#" MasterPageFile="~/shopping/customer.Master" AutoEventWireup="true" CodeBehind="buy.aspx.cs" Inherits="YiDaShuiHang.shopping.buy" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
      <script src="showpingjs/buy.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            BuyObject.BindBata();
        })

    </script>
    <style type="text/css">
        body {
            padding-bottom: 50px;
        }
        .padingset {
        background: #F2F2F2; padding: 10px 0;}
        .pading10 {
        padding-top: 10px;}
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="container-fluid" style="padding: 0px;">
        <div class="row">
            <table class=" table" style="background: #F2F2F2;" data-toggle="modal" data-target="#myTable">
                <tr>
                    <td style="width: 15px; padding-left: 26px; padding-top: 21px;" class="text-center">
                        <span class="glyphicon glyphicon-map-marker" style="font-size: 20px; color: #5BC0DE;"></span>
                    </td>
                    <td style="padding-left: 2px; padding-right: 2px;">
                        <label>用户短号：</label><label id="usernumber"></label><br />
                        <span style="font-size:15px;" id="address">用户地址</span>
                    </td>
                    <td style="width: 15px; padding-right: 26px; padding-top: 23px;" class="text-center">
                        <span class="glyphicon glyphicon-menu-right" style="color: #5BC0DE;"></span>
                    </td>
                </tr>
            </table>

            <!-- Modal -->
            <div class="modal fade" id="myTable" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
                  <div class="modal-dialog">
                    <div class="modal-content">
                      <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                        <h4 class="modal-title" id="myModalLabel">地址编辑</h4>
                      </div>
                      <div class="modal-body">
                      <form class="form-horizontal" role="form" action="">
                  <div class="form-group">
                    <label for="tel1" class="col-sm-2 control-label">联系方式</label>
                    <div class="col-sm-10">
                      <input type="text" class="form-control" id="tel1" placeholder="请输入短号或长号"/>
                    </div>
                  </div>
                          <div class="form-group">
                    <label for="dnumber" class="col-sm-2 control-label">楼号</label>
                    <div class="col-sm-10">
                      <input type="text" class="form-control" id="build" placeholder="例如19栋"/>
                    </div>
                  </div>
                   <div class="form-group">
                    <label for="dnumber" class="col-sm-2 control-label">宿舍号</label>
                    <div class="col-sm-10">
                      <input type="text" class="form-control" id="dnumber" placeholder="例如818"/>
                    </div>
                  </div>
                </form>
                      </div>
                      <div class="modal-footer">
                        <input type="button" value="保存" onclick="BuyObject.saveusermasage()" class="btn btn-primary"/>
                      </div>
                    </div>
                  </div>
                </div>

            <div class="col-lg-4 col-md-4 col-sm-6 col-xs-12 col-lg-offset-4 col-md-offset-4 col-sm-offset-3">
                <table class="table table-responsive table-condensed" style="border-bottom: 1px solid #E4E4E4;">
                    <thead>
                        <tr>
                            <td colspan="3" class="text-left" style="padding-top: 5px;">
                                <span><kbd>邑大商城</kbd></span>
                            </td>
                        </tr>
                    </thead>
                    <tr>
                        <td colspan="3" id="tabldata">
                          
                        </td>
                    </tr>
                    <tr>
                        <td class="text-left" style="font-size: 15px;">
                            <div class="radio">
                                <strong>配送方式</strong>
                            </div>
                        </td>
                        <td class="text-center">
                            <div class="text-left radio">
                                <label>
                                    <input type="radio" id="Radio2" name="payway"  checked="checked" class="radio-inline" value="0" />
                                    货到付款</label>
                            </div>
                        </td>
                        <td class="text-center">
                            <div class="text-left radio">
                                <label>
                                    <input type="radio" id="Radio1" disabled="disabled" name="payway" class="radio-inline" value="1" />
                                    微信支付</label>
                            </div>
                        </td>
                    </tr>
                </table>
            </div>

            <div class="col-lg-4 col-md-4 col-sm-6 col-xs-12 col-lg-offset-4 col-md-offset-4 col-sm-offset-3">
                <table class="table " style="margin-bottom:40px">
                    <thead>
                        <tr>
                            <td class="text-left" style="font-size: 15px;">
                                <strong>买家留言</strong>
                            </td>
                        </tr>
                    </thead>
                    <tr>
                        <td>
                            <div class="">
                                <textarea class="form-control" id="remaindword" rows="3"></textarea>
                            </div>
                        </td>
                    </tr>
                </table>
            </div>
            <nav  class="navbar navbar-default navbar-fixed-bottom">
                         <div class="col-xs-12" style=" padding-top:9px; margin-bottom:45px " >
                          <div class="col-sm-3 col-xs-6 col-sm-offset-3 text-right text-danger" style=" margin-top:6px;"><label>合计：</label><label id="allprice">￥0</label></div>
                          <div class="col-sm-3 col-xs-6 col-sm-offset-3 text-center" style=" padding-top:5px;">
                              <input type="button" onclick="BuyObject.submitOrder()" class="btn btn-md btn-info" value="提交订单" /></div>
                         </div></nav>
        </div>
    </div>
</asp:Content>
